#pragma once
#include "elementfactory.h"
#include "TriangularObstacle.h"
#include "Log.h"
#include "XMLElement.h"
#include "FactoryUtil.h"

class TriangleObstacleFactory : public ElementFactory {

public:
	TriangleObstacleFactory(void);
	~TriangleObstacleFactory(void);

	/*--------------Constructores----------------------*/			

	/*----------------Atributos-------------------------*/		

	public:	virtual Element* createElement(XMLElement*);

	private: Log * log;

	private: TriangularObstacle * createTriangleObstacle(XMLElement*);



};
